Cerner Workflow System API - Implementation Template

(0 reviews)

Developer guide

Cerner Dev Guide

The Worfklow application uses the following DataWeave modules to be used in Appointment(Search,Get,Create,Cancel) and Slot(Get and Search) for Cerner

ModuleDescription
createCancelRequestCreates Appointment Cancel request using inputRequest(payload)
createRequestFilterParticipantsRemoves participants based on the allowed participants
replaceDatePrefixReplace date prefix le with lt as Cerner accepts only lt
replaceResponseUrls
updateDateParams
validatePostRequestFunction uses property allowedAppointmentParticipants to identify allowed actors in participant for Appointment Create/Cancel
WorkflowFHIRToolsWorkflowFHIRTools DataWeave library contains functions used for Slot Search and Appointment Search, Create and Cancel in Cerner

createCancelRequest

Creates Appointment Cancel request using inputRequest(payload)

Source: .src/main/resources/dw/Appointment/createCancelRequest.dwl

(back to top)

createRequestFilterParticipants

Removes participants based on the allowed participants

Source: .src/main/resources/dw/Appointment/createRequestFilterParticipants.dwl

(back to top)

replaceDatePrefix

Replace date prefix le with lt as Cerner accepts only lt

Source: .src/main/resources/dw/Appointment/replaceDatePrefix.dwl

(back to top)

replaceResponseUrls

Source: .src/main/resources/dw/Appointment/replaceResponseUrls.dwl

Functions

fun rewriteUrl (urlValue)

Replace Cerner Url with API baseUrl

(back to top)

updateDateParams

Source: .src/main/resources/dw/Appointment/updateDateParams.dwl

(back to top)

validatePostRequest

Function uses property allowedAppointmentParticipants to identify allowed actors
in participant for Appointment Create/Cancel

Source: .src/main/resources/dw/Appointment/validatePostRequest.dwl

(back to top)

WorkflowFHIRTools

WorkflowFHIRTools DataWeave library contains functions used for Slot Search and Appointment Search, Create and Cancel
in Cerner

Source: .src/main/resources/dw/Appointment/WorkflowFHIRTools.dwl

Functions

fun createCancelationRequest (cancelObj)

Generate Appointment Cancellation Request

param cancelObj cancel payload sent in post
return returns Appointment Cancel with code body

fun validateAppointmentPost (inRequest, allowedAppointmentParticipants)

Validate the input body for Appointment POST Allowed Participants are defined in allowedAppointmentParticipants Returns Boolean True or False. True implies presence of unallowed participant actors

(back to top)


Reviews

TypeTemplate
OrganizationMuleSoft
Published by
MuleSoft Solutions
Published onOct 12, 2023
Asset overview

Asset versions for 1.0.x

Asset versions
VersionActions
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0